package com.cheerful.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cheerful.blog.entity.Comment;

import java.util.List;

/**
 * (Comment)表服务接口
 *
 * @author makejava
 * @since 2022-02-07 13:15:03
 */
public interface CommentService extends IService<Comment> {
    /**
     * 获取某个文章下面的所有评论
     *
     * @param id
     * @return
     */
    List<Comment> listForArticle(Long id);
}

